<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:dg="http://deegree.org/jsf" xmlns:dgc="http://java.sun.com/jsf/composite/deegree" template="/layout.xhtml">
  <ui:define name="center">
    <h:panelGroup rendered="#{!logBean.loggedIn}">
      <ui:include src="accessForbidden.xhtml"/>
    </h:panelGroup>
    <h:panelGroup rendered="#{logBean.loggedIn}">
      <fieldset class="fieldset">
        <legend>
          <h:outputText styleClass="titel" value="#{labels.proxy_title}"/>
        </legend>
        <h:form>
          <table style="font-size:small" border="0">
					<tr><td /></tr>
					<tr><td /></tr>
            <tr>
              <td>
                <h:outputFormat value="#{labels.proxy_proxyHost}" />
              </td>
              <td>
                <h:outputText value="#{proxyBean.proxyHost}"/>
              </td>
            </tr>
            <tr>
              <td>
                <h:outputFormat value="#{labels.proxy_proxyPort}" />
              </td>
              <td>
                <h:outputText value="#{proxyBean.proxyPort}"/>
              </td>
            </tr>
            <tr>
              <td>
                <h:outputFormat value="#{labels.proxy_proxyUser}" />
              </td>
              <td>
                <h:outputText value="#{proxyBean.proxyUser}"/>
              </td>
            </tr>
            <tr>
              <td>
                <h:outputFormat value="#{labels.proxy_proxyPassword}" />
              </td>
              <td>
                <h:outputText value="#{proxyBean.proxyPassword}"/>
              </td>
            </tr>
            <tr>
              <td>
                <h:outputFormat value="#{labels.proxy_nonProxyHosts}" />
              </td>
              <td>
                <h:outputText value="#{proxyBean.nonProxyHosts}"/>
              </td>
            </tr>
            <tr>
              <td>
                <h:outputFormat value="#{labels.proxy_httpProxyHost}" />
              </td>
              <td>
                <h:outputText value="#{proxyBean.httpProxyHost}"/>
              </td>
            </tr>
            <tr>
              <td>
                <h:outputFormat value="#{labels.proxy_httpProxyPort}" />
              </td>
              <td>
                <h:outputText value="#{proxyBean.httpProxyPort}"/>
              </td>
            </tr>
            <tr>
              <td>
                <h:outputFormat value="#{labels.proxy_httpProxyUser}" />
              </td>
              <td>
                <h:outputText value="#{proxyBean.httpProxyUser}"/>
              </td>
            </tr>
            <tr>
              <td>
                <h:outputFormat value="#{labels.proxy_httpProxyPassword}" />
              </td>
              <td>
                <h:outputText value="#{proxyBean.httpProxyPassword}"/>
              </td>
            </tr>
            <tr>
              <td>
                <h:outputFormat value="#{labels.proxy_nonhttpProxyHosts}" />
              </td>
              <td>
                <h:outputText value="#{proxyBean.nonhttpProxyHosts}"/>
              </td>
            </tr>
            <tr>
              <td>
                <h:outputFormat value="#{labels.proxy_ftpProxyHost}" />
              </td>
              <td>
                <h:outputText value="#{proxyBean.ftpProxyHost}"/>
              </td>
            </tr>
            <tr>
              <td>
                <h:outputFormat value="#{labels.proxy_ftpProxyPort}" />
              </td>
              <td>
                <h:outputText value="#{proxyBean.ftpProxyPort}"/>
              </td>
            </tr>
            <tr>
              <td>
                <h:outputFormat value="#{labels.proxy_ftpProxyUser}" />
              </td>
              <td>
                <h:outputText value="#{proxyBean.ftpProxyUser}"/>
              </td>
            </tr>
            <tr>
              <td>
                <h:outputFormat value="#{labels.proxy_ftpProxyPassword}" />
              </td>
              <td>
                <h:outputText value="#{proxyBean.ftpProxyPassword}"/>
              </td>
            </tr>
            <tr>
              <td>
                <h:outputFormat value="#{labels.proxy_nonftpProxyHosts}" />
              </td>
              <td>
                <h:outputText value="#{proxyBean.nonftpProxyHosts}"/>
              </td>
            </tr>
          </table>
          <br/>
        </h:form>
        <h:form>
          <div>
            <h:commandButton styleClass="buttonEdit2" value="#{labels.proxy_edit_settings}" action="#{configManager.proxyConfig.edit}" />
          </div>
        </h:form>
      </fieldset>
    </h:panelGroup>
  </ui:define>
</ui:composition>
